Next | Prev | Up | Top | Contents | Index
Entry Point start()
The pfxstart() entry point is called at system startup, and whenever a loadable driver is loaded. It is called after pfxedtinit() and pfxinit(), but before any other entry point such as pfxopen(). The pfxstart() entry point receives no arguments; its prototype is simply
void pfxstart(void);
The pfxstart() entry point is a suitable place to allocate a poll-head structure using phalloc(), as discussed in "Use and Operation of poll(2)".
Next | Prev | Up | Top | Contents | Index